﻿using System;

namespace BorgExt
{
    public class LogEventArgs : EventArgs
    {
        private readonly LogType _type;
        private readonly string _message;

        public LogType Type
        {
            get { return _type; }
        }

        public string Message
        {
            get { return _message; }
        }

        public LogEventArgs(LogType type, string message)
        {
            _type = type;
            _message = message;
        }
    }

    public delegate void LogEventHandler(object sender, LogEventArgs args);
}

